package com.wisdytech.linkdcs.system.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-09-16
 */
@TableName("sys_resource")
public class SysResource extends Model<SysResource> {



	private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
	private String pkId;
	@TableField("RES_NAME")
	private String resName;
	@TableField("RES_CODE")
	private String resCode;
	
	//页面uri地址
	@TableField("URI")
	private String uri;
	
	
	@TableField("RES_TYPE")
	private String resType;
	@TableField("PARENT_ID")
	private String parentId;
	@TableField("RES_ORDER")
	private Integer resOrder;
	@TableField("ENABLED")
	private String enabled;
	
	/**
	 * 权限字段
	 */
	@TableField("PERMISSION")
	private String permission;
	
	
	@TableField("REMARK")
	private String remark;
	@TableField("DEL_FLAG")
	private String delFlag;
	@TableField("CREATE_USER")
	private String createUser;
	@TableField("CREATE_DATE")
	private Date createDate;
	@TableField("UPDATE_USER")
	private String updateUser;
	@TableField("UPDATE_DATE")
	private Date updateDate;
	


	public String getPkId() {
		return pkId;
	}

	public void setPkId(String pkId) {
		this.pkId = pkId;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public String getResCode() {
		return resCode;
	}

	public void setResCode(String resCode) {
		this.resCode = resCode;
	}

	public String getResType() {
		return resType;
	}

	public void setResType(String resType) {
		this.resType = resType;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getResOrder() {
		return resOrder;
	}

	public void setResOrder(Integer resOrder) {
		this.resOrder = resOrder;
	}

	public String getEnabled() {
		return enabled;
	}

	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

    public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}
    public String getPermission() {
		return permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}
	@Override
	protected Serializable pkVal() {
		return this.pkId;
	}

}
